package com.jthinker.blog.bean.vo;

import com.alibaba.fastjson.JSON;

/**
 * User: Gang Chen
 * Date: 2015/8/5 21:15
 */
public class PostFilter extends Filter
{
    private Long categoryId;

    private Integer year;

    private Integer month;

    private Long userId;

    public Long getCategoryId()
    {
        return categoryId;
    }

    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Integer getYear()
    {
        return year;
    }

    public void setYear(Integer year)
    {
        this.year = year;
    }

    public Integer getMonth()
    {
        return month;
    }

    public void setMonth(Integer month)
    {
        this.month = month;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    @Override
    public String toString()
    {
        return JSON.toJSONString(this);
    }
}
